package com.cwm.test.factory.factoryMethod1;


public class FoodFactory extends AbstractFactory<Food> {

    @Override
    public Food produce(Class<? extends Food> classz) {
        Food food =  (Food)newInstance(classz);
        return food;
    }

}
